radeon: Firmware is required for DRM and KMS on R600 onward
authorBen Hutchings <ben@decadent.org.uk>
Tue, 8 Jan 2013 03:25:52 +0000 (03:25 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 22 Dec 2017 14:12:23 +0000 (14:12 +0000)
commit467bd65310f007c9c4d988026e78314fa0f7846a
tree19f6da9e1edf2482085197631e4e151e92663034
parent6555f95eab9da7cb42db8faf8fc4c348f86c0e5a
radeon: Firmware is required for DRM and KMS on R600 onward

radeon requires firmware/microcode for the GPU in all chips, but for
newer chips (apparently R600 'Evergreen' onward) it also expects
firmware for the memory controller and other sub-blocks.

radeon attempts to gracefully fall back and disable some features if
the firmware is not available, but becomes unstable - the framebuffer
and/or system memory may be corrupted, or the display may stay black.

Therefore, perform a basic check for the existence of
/lib/firmware/radeon when a device is probed, and abort if it is
missing, except for the pre-R600 case.

Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch
drivers/gpu/drm/radeon/radeon_drv.c